import App from '@/App.vue';
import Listing from '@/components/Listing.vue';
import ListingDetail from '@/components/ListingDetail.vue';
import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router);
export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component:App
    },
    {
      path: '/house',
        name: 'FindHouse',
      component:Listing
    },
    {
      path: '/detail',
       name: 'HouseContainer',
      component:ListingDetail
    }
  ]
})